const clearTagMixins = {
  methods: {
    /*删除tab标签并退出*/
    clearTag(type = '') {
      let r = this.$route
      let name = r.params.id ? r.name + r.params.id : r.name
      this.$store.commit('setRemoveLog', name)
      if (type !== 'default') {
        //官方自评/投票活动/排行榜活动：新增/编辑页，点“取消”，退回列表页
        this.signOut()
      }
    }
  }
}
export { clearTagMixins }
